<link href="../addons/jy_merch/css/style.css"  rel="stylesheet" />
<style>
.gray{font-size:0.55rem}
</style>
<div class="fui-page page-merch-register">
    <div class="fui-content">
        <img class="regbg" style="max-height:10rem" src="{{pagedata.set.regbg}}"/>
		<div ng-if="pagedata.post.id">
                        <div ng-if="pagedata.post.status==2" class="c">
                            <p>您的申请被驳回：</p>
                            <p>{{pagedata.post.reason}}</p>
                            <p>您也可以修改信息重新提交</p>
                        </div>
                        <div ng-if="pagedata.post.id>0 && pagedata.post.status==0" class="c">
                            <p>您已经提交了信息，请等待我们联系您!</p>
                            <p>您也可以修改信息重新提交</p>
                        </div>
						<div ng-if="pagedata.post.status==1" class="c">
                            <p>您已经提交了信息，已审核通过!</p>
							<p>您也可以修改信息重新提交</p>
                        </div>
		</div>
		<div ng-if="!pagedata.post.id || pagedata.post.status!=0">
        <div class="fui-cell-group">
            <div class="fui-cell must ">
                <div class="fui-cell-label">线上门店名称</div>
                <div class="fui-cell-info"><input type="text" class="fui-input" id="merchname" placeholder="门店名称" ng-model="pagedata.post.merchname"/></div>
            </div>
			<div class="fui-cell must ">
                <div class="fui-cell-label">核销门店ID</div>
				<div class="fui-cell-text">
				<input type="text" class="fui-input" id="address" placeholder="核销门店ID" ng-model="pagedata.post.dd_shop_id">
				</div>
            </div>
			<div class="fui-cell must">
                <div class="fui-cell-label">门店实际地址</div>
                <div class="fui-cell-text">
				<input type="text" class="fui-input" id="address" placeholder="门店实际地址" ng-model="pagedata.post.address">
				<div class="gray">要上团购的门店实际文字地址</div>
				</div>
			</div>
			<div class="fui-cell must">
                <div class="fui-cell-label">团购收款的银行卡卡号</div>
                <div class="fui-cell-text">
				<input type="text" class="fui-input" id="address" placeholder="银行卡卡号" ng-model="pagedata.post.setting.bankcard">
				<div class="gray">用于团购收款的银行卡卡号;填写 法人名下银行卡卡号或 公司对公帐户</div>
				</div>
			</div>
			<div class="fui-cell must">
                <div class="fui-cell-label">银行卡开户的总行和支行</div>
                <div class="fui-cell-text">
				<input type="text" class="fui-input" id="address" placeholder="银行卡开户的总行和支行" ng-model="pagedata.post.setting.bankname">
				<div class="gray">银行卡开户的总行和支行;例如：中国建设银行 ，湖北省天长市龙东大道支行</div>
				</div>
			</div>
			<div class="fui-cell must">
                <div class="fui-cell-label">银行卡开户时预留的手机号</div>
                <div class="fui-cell-text">
				<input type="text" class="fui-input" id="address" placeholder="银行卡开户时预留的手机号" ng-model="pagedata.post.setting.mobile">
				<div class="gray">银行卡开户时预留的手机号</div>
				</div>
			</div>
			<div class="fui-cell must">
                <div class="fui-cell-label">法人银行卡照片</div>
                <div class="fui-cell-text">
				<img style="width:5rem" ng-click="up_file(pagedata.post.setting,'bankimg','image')" accept="image/jpg,image/jpeg,image/png,image/gif" ng-src="{{tomedia(pagedata.post.setting.bankimg) ||'../addons/jy_weishop/resource/images/card04.png'}}" />
				<div class="gray">上传法人银行卡照片（或公司对公账户信息图或对公账户银行卡照片）个体工商户上传法人名下银行卡照片;公司 上传 对公账户信息图或对公账户银行卡照片</div>
				</div>
			</div>
			<div class="fui-cell must ">
                <div class="fui-cell-label">营业执照名称</div>
                <div class="fui-cell-info"><input type="text" class="fui-input" id="merchname" placeholder="营业执照名称" ng-model="pagedata.post.setting.cname"/></div>
            </div>
			<div class="fui-cell must">
                <div class="fui-cell-label">营业执照</div>
                <div class="fui-cell-text">
				<img style="width:5rem" ng-click="up_file(pagedata.post.setting,'codeimg','image')" accept="image/jpg,image/jpeg,image/png,image/gif" ng-src="{{tomedia(pagedata.post.setting.codeimg) ||'../addons/jy_kuaijiefee/resource/images/codeimg.png'}}" />
				<div class="gray">营业执照（四个边角露出，清晰可见）</div>
				</div>
			</div>
			<div class="fui-cell must">
                <div class="fui-cell-label">身份证正面</div>
                <div class="fui-cell-text">
				<img style="width:5rem" ng-click="up_file(pagedata.post.setting,'cardimg','image')" accept="image/jpg,image/jpeg,image/png,image/gif" ng-src="{{tomedia(pagedata.post.setting.cardimg) ||'../addons/jy_weishop/resource/images/card01.png'}}" />
				<div class="gray">营业执照（四个边角露出，清晰可见）</div>
				</div>
			</div>
			<div class="fui-cell must">
                <div class="fui-cell-label">身份证反面</div>
                <div class="fui-cell-text">
				<img style="width:5rem" ng-click="up_file(pagedata.post.setting,'cardimg2','image')" accept="image/jpg,image/jpeg,image/png,image/gif" ng-src="{{tomedia(pagedata.post.setting.cardimg) ||'../addons/jy_weishop/resource/images/card02.png'}}" />
				<div class="gray">营业执照（四个边角露出，清晰可见）</div>
				</div>
			</div>
			<div class="fui-cell must">
                <div class="fui-cell-label">卫生许可证或行业许可证</div>
                <div class="fui-cell-text">
				<img style="width:5rem" ng-click="up_file(pagedata.post.setting,'codeimg2','image')" accept="image/jpg,image/jpeg,image/png,image/gif" ng-src="{{tomedia(pagedata.post.setting.codeimg2) ||'../addons/jy_kuaijiefee/resource/images/codeimg2.png'}}" />
				<div class="gray">卫生许可证或行业许可证</div>
				</div>
			</div>
			<div class="fui-cell must ">
                <div class="fui-cell-label">门店管理员快手号</div>
                <div class="fui-cell-info"><input type="text" class="fui-input" id="ks_id" placeholder="门店管理员快手号" ng-model="pagedata.post.setting.ks_id"/></div>
            </div>
			<div class="fui-cell must ">
                <div class="fui-cell-label">门店管理员手机号</div>
                <div class="fui-cell-info"><input type="text" class="fui-input" id="mobile" placeholder="门店管理员手机号" ng-model="pagedata.post.mobile"/></div>
            </div>
			<div class="fui-cell must ">
                <div class="fui-cell-label">门店核销快手号</div>
                <div class="fui-cell-info"><input type="text" class="fui-input" id="heks_id" placeholder="门店核销快手号" ng-model="pagedata.post.setting.heks_id"/></div>
            </div>
			<div class="fui-cell must ">
                <div class="fui-cell-label">门店核销手机号</div>
                <div class="fui-cell-info"><input type="text" class="fui-input" id="hemobile" placeholder="门店核销手机号" ng-model="pagedata.post.setting.hemobile"/></div>
            </div>
            <div class="fui-cell">
                <div class="fui-cell-label">简单介绍</div>
                <div  class="fui-cell-info"><textarea id="desc" ng-model="pagedata.post.desc" placeholder="简单介绍下门店"></textarea></div>
            </div>
        </div>
        <div class="fui-cell-group">
            <div class="fui-cell must ">
                <div class="fui-cell-label">帐号</div>
                <div class="fui-cell-info"><input type="text" class="fui-input must_set" onblur="scope.tool.must_set($(this));" id="uname" placeholder="帐号" ng-model="pagedata.post.uname" maxlength="20"></div>
            </div>
            <div class="fui-cell must ">
                <div class="fui-cell-label">密码</div>
                <div class="fui-cell-info"><input type="password" class="fui-input" id="upass" placeholder="密码"  ng-model="pagedata.post.upass" maxlength="20"/></div>
            </div>
        </div>
        <!--<div ng-if="pagedata.set.applytitle!=null && pagedata.set.applycontent!=null" class="fui-cell-group">
                <div class="fui-cell small ">
                    <div class="fui-cell-info">

                        <label class="checkbox-inline">
                            <input type="checkbox" class="fui-checkbox-primary" ng-click="pagedata.post.check=1" id="agree" ng-checked="pagedata.post.check==1"/> 我已经阅读并了解了<a ng-click="pagedata.show_xieyi=true" id="btn-apply" style="color:#337ab7;">【{{pagedata.set.applytitle}}】</a>。
                        </label>

                    </div>
                </div>

        </div>-->
	<div class='btn btn-danger block btn-submit' href="javascript:" ng-click="post(pagedata.post,'post')" >提交信息</div>
    </div>
    </div>
</div>
<div ng-if="pagedata.show_xieyi" class="popup">
	<div class="popup-body">
		<div class="popup-center">
			<i class="closed icon icon-cuowu" ng-click="pagedata.show_xieyi=false"></i>
			<div class="content-images" style="padding:0.5rem;height:20rem; overflow-y:scroll;">
					<div class="title bold" style="font-size:0.8rem">{{pagedata.set.applytitle || '门店协议'}} / <small>Read Ggree</small></div>
					<div class="text" style="padding-top:0.5rem;font-size:0.7rem" ng-bind-html="trust(pagedata.set.applycontent)">
					</div>
			</div>
			<div class="modal-footer">
				<div ng-click="pagedata.show_xieyi=false;pagedata.post.check=1;" class="mod-check" style="width: 100%; margin: 0;">我已阅读</div>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript">
</script>